import warnings

warnings.filterwarnings("ignore")

from transformers import pipeline

unmasker = pipeline('fill-mask', model='bert-base-uncased',device='cpu')
result = unmasker("Without the support [MASK] Maximilian or the chance to prove themselves in the war with Gallia , it is Dahau 's last trump card in creating a new Darcsen nation .")
for prediction in result:
    print(f"Sequence: {prediction['sequence']}, Score: {prediction['score']}")
